using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace xingzhimeng
{
  ///<summary>
  ///
  ///</summary>
public class StartUi : MonoBehaviour
{
        private void Start()
        {
           
            Screen.SetResolution(800, 420, false);
           Audios.Instance.PlayClip(transform.position, ClipName.GameStart);
        }
        public void GameStart()
        {
            SceneManagle1.Instance.GoTarget(SceneName.MainMuen);
           
        }
        public void QuitGame()

        {
#if UNITY_EDITOR
          UnityEditor.EditorApplication.isPlaying = false;
#else
          Application.Quit();
#endif

        }
        public void QuitMuen()
        {
            SceneManagle1.Instance.GoTarget(SceneName.GameStart);
        }
}

}

